package com.yizhuoyan.his.qco;

import com.yizhuoyan.his.ao.CaseRegistrationRecordAo;
import lombok.Data;

import java.time.LocalDateTime;
@Data
public class CaseRegistrationRecordQco {
    /**
     * 病历号
     */
    private String no;
    /**
     * 姓名
     */
    private String realname;

  public static  CaseRegistrationRecordQco of(CaseRegistrationRecordAo ao){
      CaseRegistrationRecordQco qco = new CaseRegistrationRecordQco();
      qco.setNo(ao.getNo());
      qco.setRealname(ao.getRealname());
      return qco;
  }
}
